package cn.signalpha.modules.shop.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 数据传输对象实体类
 *
 * @author signalpha
 */
@Data
@ApiModel(value = "PlaceDTO对象", description = "分销员")
public class PlaceDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@Data
	public static class UpdateLevelDTO implements Serializable {
		private static final long serialVersionUID = 1L;
		@NotBlank
		@ApiModelProperty(value = "id")
		private String id;
		@NotNull
		@ApiModelProperty(value = "等级")
		private Integer level;
	}

}
